package com.site.blog.my.core.dao;

import com.site.blog.my.core.entity.TbRoleResource;
import com.site.blog.my.core.entity.TbRoleResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbRoleResourceMapper {
    long countByExample(TbRoleResourceExample example);

    int deleteByExample(TbRoleResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbRoleResource record);

    int insertSelective(TbRoleResource record);

    List<TbRoleResource> selectByExample(TbRoleResourceExample example);

    TbRoleResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbRoleResource record, @Param("example") TbRoleResourceExample example);

    int updateByExample(@Param("record") TbRoleResource record, @Param("example") TbRoleResourceExample example);

    int updateByPrimaryKeySelective(TbRoleResource record);

    int updateByPrimaryKey(TbRoleResource record);
}